package com.ruoyi.diagnosis.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 历史记录对象 dgn_detail
 * 
 * @author fansea
 * @date 2024-07-22
 */
@TableName("dgn_detail")
public class Detail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图像id */
    @Excel(name = "图像id")
    private Long figureId;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 状态（0正常，1疑似异常，2异常） */
    @Excel(name = "状态", readConverterExp = "0=正常，1疑似异常，2异常")
    private Long state;

    /** 长度 */
    @Excel(name = "长度")
    private Double length;

    /** 宽度 */
    @Excel(name = "宽度")
    private Double width;

    /** 体积 */
    @Excel(name = "体积")
    private Double volume;

    public void setFigureId(Long figureId) 
    {
        this.figureId = figureId;
    }

    public Long getFigureId() 
    {
        return figureId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setLength(Double length) 
    {
        this.length = length;
    }

    public Double getLength() 
    {
        return length;
    }
    public void setWidth(Double width) 
    {
        this.width = width;
    }

    public Double getWidth() 
    {
        return width;
    }
    public void setVolume(Double volume) 
    {
        this.volume = volume;
    }

    public Double getVolume() 
    {
        return volume;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("figureId", getFigureId())
            .append("orderNum", getOrderNum())
            .append("state", getState())
            .append("length", getLength())
            .append("width", getWidth())
            .append("volume", getVolume())
            .toString();
    }
}
